package cn.openea.perpartner.payment.web.order.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * (Order)表实体类
 *
 * @author Weird077
 * @since 2023-01-28 11:59:43
 */
@Data
@TableName("payment_order")
public class Order implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("订单id")
    @TableId
    private String orderId;
    @ApiModelProperty(value = "订单名称")
    private String orderName;
    @ApiModelProperty(value = "订单类别")
    private String orderType;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "订单金额")
    private String orderPrice;
    @ApiModelProperty(value = "订单详情指向地址")
    private String orderLink;
    @ApiModelProperty(value = "订单图片")
    private String orderImages;
    @ApiModelProperty(value = "订单创建人id")
    private String createUser;
    @ApiModelProperty(value = "订单创建人昵称")
    private String createUserName;
    @ApiModelProperty(value = "订单创建人头像")
    private String createUserAvatar;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;
    @ApiModelProperty(value = "来源id")
    private String sourceId;
    @ApiModelProperty(value = "场景id")
    private String sceneId;
    @ApiModelProperty(value = "订单备注")
    private String remark;
    @ApiModelProperty(value = "来源模块")
    private String sourceModule;
    @ApiModelProperty(value = "优惠券id")
    private String couponId;
    @ApiModelProperty(value = "优惠券金额")
    private String couponAmount;
    @ApiModelProperty(value = "未优惠金额")
    private String originalPayAmount;
    @ApiModelProperty(value = "是否使用抵扣。0:不使用；1:使用；(默认0)")
    private String useDeduction = "0";
    @ApiModelProperty("钱包抵扣金额")
    private String deductionAmount;
}

